// vue.config.js
module.exports = {
  publicPath: "./",
  outputDir: "dist",
  devServer: {
    proxy: {
      "/api": {
        // target: "http://120.78.181.108:8848",
        // target: "https://localhost:8848",
        target: "http://localhost:8848",
        changeOrigin: true,
        ws: true,
        pathRewrite: {
          "^/api": "",
        },
      },
    },
    https: true,
    disableHostCheck: true,
  },
};
